home *** CD-ROM | disk | FTP | other *** search
- goto menu
-
- dial:
- isfile s8
- if success
- return
- else
- endif
- clear
- message "│ ... │"
- locate 0,8
- message s8
- locate 0,17
- message "│ ........................... │"
- locate 0,49
- message s6
- locate 0,77
- message "│"
- locate 2,0
- transmit "I!"
- pause 1
- transmit "ATZ!"
- waitfor "OK"
- transmit "^E!"
- waitfor "READY"
- transmit "D"
- transmit S8
- transmit "!"
- rget s9
- rget s9 80 40
- rget s9 40 40
- rget s9 40 40
-
- mess:
- find s9 "BUSY"
- if found
- assign s7 "M"
- return
- else
- endif
- find s9 "ANSWER TONE"
- if found
- set parity none
- set databits 8
- clear
- log open s8
- alarm 2
- exit
- else
- endif
- find s9 "RINGING"
- if found
- rget s9
- find s9 "RINGING"
- if not found
- goto mess
- else
- log open s8
- message "NO ANSWER - STILL RINGING"
- log close
- transmit "^C^D^C"
- endif
- else
- endif
- return
-
- menu:
- assign s7 " "
- log close
- clear
- message "╔════════════════════════════════════════════════════════════════════════════╗"
- message "║ A- ........................ ...-.... V- ........................ ...-.... ║"
- message "║ B- ........................ ...-.... W- ........................ ...-.... ║"
- message "║ C- ........................ ...-.... X- ........................ ...-.... ║"
- message "║ D- ........................ ...-.... Y- ........................ ...-.... ║"
- message "║ E- ........................ ...-.... Z- ........................ ...-.... ║"
- message "║ F- ........................ ...-.... 0- ........................ ...-.... ║"
- message "║ G- ........................ ...-.... 1- ........................ ...-.... ║"
- message "║ H- ........................ ...-.... 2- ........................ ...-.... ║"
- message "║ I- ........................ ...-.... 3- ........................ ...-.... ║"
- message "║ J- ........................ ...-.... 4- ........................ ...-.... ║"
- message "║ K- ........................ ...-.... 5- ........................ ...-.... ║"
- message "║ L- ........................ ...-.... 6- ........................ ...-.... ║"
- message "║ M- ........................ ...-.... 7- ........................ ...-.... ║"
- message "║ N- ........................ ...-.... 8- ........................ ...-.... ║"
- message "║ O- ........................ ...-.... 9- ........................ ...-.... ║"
- message "║ P- ........................ ...-.... @- ........................ ...-.... ║"
- message "║ Q- ........................ ...-.... #- ........................ ...-.... ║"
- message "║ R- ........................ ...-.... $- ........................ ...-.... ║"
- message "║ S- ........................ ...-.... %- ........................ ...-.... ║"
- message "║ T- ........................ ...-.... &- ........................ ...-.... ║"
- message "║ U- ........................ ...-.... *- ........................ ...-.... ║"
- message "╚════════════════════════════════════════════════════════════════════════════╝"
- locate 23,2
- get s0
-
- top:
- find s0 "A"
- if found
- assign s8 "...-...."
- assign s6 "..........................."
- gosub dial
- else
- endif
- goto speedup ; Skip Empty Elements
- find s0 "B"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "C"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "D"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "E"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "F"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "G"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "H"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "I"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "J"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "K"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "L"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "M"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "N"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "O"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "P"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "Q"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "R"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "S"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "T"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "U"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "V"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "W"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "X"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "Y"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "Z"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "0"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "1"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "2"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "3"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "4"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "5"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "6"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "7"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "8"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "9"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "@"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "#"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "$"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "%"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "&"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
- find s0 "*"
- if found
- assign s8 " - "
- assign s6 " "
- gosub dial
- else
- endif
-
- speedup:
- find s7 "M"
- if found
- assign s7 " "
- goto top
- else
- endif
- message "All Numbers Connected - Or Did Not Answer"
- alarm 2
- exit
-